package com.qlu.syq.dao.admin;

import java.util.List;
import java.util.Map;

import com.qlu.syq.entity.admin.Floor;
import org.springframework.stereotype.Repository;

/**
 * 楼层dao
 * @author Administrator
 *
 */
@Repository
public interface FloorDao {
	int add(Floor floor);
	int edit(Floor floor);
	int delete(Long id);
	List<Floor> findList(Map<String, Object> queryMap);
	List<Floor> findAll(Map<String, Object> queryMap);
	Integer getTotal(Map<String, Object> queryMap);

    List<Map<String, Object>> queryAllFloorAvilableNum();
}
